import request from '@/config/axios'

export const activateEmailApi = (data: ActivateEmailRequest) => {
	return request.post<boolean>({
		url: '/system/user-email/activateEmail',
		data
	})
}

export const modifyEmailApi = (data: ModifyEmailRequest) => {
	return request.post<boolean>({
		url: '/system/user-email/modifyEmail',
		data
	})
}
